import { HttpResponse, HttpTask } from "luch-request"

export interface IBannerItem {
  hrefUrl?: string //跳转链接
  id: string //id
  imgUrl: string //图片链接
  title: string
  type?: number //跳转类型
}
export interface IWeather{
	day?: string,
	week?: string,
	weather?: string,
	weatherIcon?: string,
	temperature?: string,
	suggest?: string
}
export interface ITabsItem{
	id?: number
	name:string
}
export interface ITabsList {
	list:ITabsItem[],
	choosedTab: ITabsItem,//默认为选择，与list中的
	opName?: string
}
export interface IPlantItem{
	id:number,
	name: string,
	url: string,
	temprature: number,
	humidity: number,
	checked: boolean
}

export type IPlantList = IPlantItem[]

export interface IQrCode{
	size: Number
	val: String
	icon: String
}

export interface ICustomHttpResponse extends HttpResponse<any, HttpTask> {
  code: number; // 确保这里包括了 status 属性
}